package net.zhengxinyun.performance.mapper.departClass;

import net.zhengxinyun.performance.entity.DepartClassHead;
import net.zhengxinyun.performance.entity.DepartClassItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartClassIHeadMapper {

    List<DepartClassHead> queryItem(DepartClassHead entity);
    List<DepartClassHead> queryByDatetime(String datetime);
    int update(DepartClassHead entity);
    int delete(Long id);
    int saveItems(List list);
    DepartClassHead queryByIndexId(Long indexID);

    int insertSingle(DepartClassHead entity);
    int deleteByIndexId(Long indexId);
    int updateByIndexId(DepartClassHead entity);

 }
